import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { AdminComponent } from './admin.component';

export const routes: Routes = [
    { path: 'admin', component: AdminComponent },
];

export const AdminRouting: ModuleWithProviders = RouterModule.forRoot(routes);
